package com.zhq.blog.core.domain.game.support;

import javax.persistence.Entity;
import javax.persistence.Transient;

import com.zhq.blog.core.domain.BasePersistentDomain;

/**
 * @title:Odds.java
 * @package com.zhq.blog.core.domain.game.support
 * @author 张恒强
 * @date 2014年12月27日 上午11:45:14
 * @version V1.0
 * 
 * 赔率表
 * 刷新界面时，处理当前赔率
 * 
 */
@Entity
public class Odds extends BasePersistentDomain<OddsRepository>{
	
	private int number;//号码
	
	private double current;//当前赔率
	
	private double standard;//标准赔率
	
	private long gameId;//游戏类型  不同游戏的同一号码赔率不一样
	
	private long standardInterval;
	
	private long standardTimes;
	
	@Transient
	private long currentInterval;
	@Transient
	private long currentTimes;
	
	@Transient
	private long betmoney;
	
	@Transient
	private long winmoney;
	
	@Transient
	private double currentRate;
	
	public Odds(int number, double standard, long gameId,long standardInterval,long standardTimes) {
		super();
		this.number = number;
		this.standard = standard;
		this.current = standard;
		this.standardInterval = standardInterval;
		this.standardTimes = standardTimes;
		this.gameId = gameId;
		
	}

	public Odds() {
		super();
	}

	
	public double getCurrentRate() {
		return currentRate;
	}

	public void setCurrentRate(double currentRate) {
		this.currentRate = currentRate;
	}

	public long getBetmoney() {
		return betmoney;
	}

	public void setBetmoney(long betmoney) {
		this.betmoney = betmoney;
	}

	public long getWinmoney() {
		return winmoney;
	}

	public void setWinmoney(long winmoney) {
		this.winmoney = winmoney;
	}

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public double getCurrent() {
		return current;
	}

	public void setCurrent(double current) {
		this.current = current;
	}

	public double getStandard() {
		return standard;
	}

	public void setStandard(double standard) {
		this.standard = standard;
	}

	public long getGameId() {
		return gameId;
	}

	public void setGameId(long gameId) {
		this.gameId = gameId;
	}

	public long getStandardInterval() {
		return standardInterval;
	}

	public void setStandardInterval(long standardInterval) {
		this.standardInterval = standardInterval;
	}

	public long getStandardTimes() {
		return standardTimes;
	}

	public void setStandardTimes(long standardTimes) {
		this.standardTimes = standardTimes;
	}

	public long getCurrentInterval() {
		return currentInterval;
	}

	public void setCurrentInterval(long currentInterval) {
		this.currentInterval = currentInterval;
	}

	public long getCurrentTimes() {
		return currentTimes;
	}

	public void setCurrentTimes(long currentTimes) {
		this.currentTimes = currentTimes;
	}

}
